// 此处第二个参数vm，就是我们在页面使用的this，你可以通过vm获取vuex等操作，更多内容详见uView对拦截器的介绍部分：
// https://uviewui.com/js/http.html#%E4%BD%95%E8%B0%93%E8%AF%B7%E6%B1%82%E6%8B%A6%E6%88%AA%EF%BC%9F
import { times } from '@/uni_modules/uview-ui/libs/function/digit';

const install = (Vue, vm) => {
	/*登录*/
	//获取验证码接口
	let sendVerificationCode = (params = {}) => vm.$u.http.post(k_api_sendVerificationCode, params);
	//账户信息
	let getSysUser = (params = {}) => vm.$u.http.post(k_api_getSysUser, params);
	//登录
	let login = (params = {}) => vm.$u.http.post(k_api_login, params);
	//是否需要商户号
	let getConfigParam = (params = {}) => vm.$u.http.post(k_api_getConfigParam, params);

	/* ===================  公共配置  ================== */
	/** 图片上传路径 */
	let uploadFile = (params = {}) => vm.$u.http.post(k_api_uploadFile, params);
	/*公共配置*/
	//数据字典公共数据
	let getCarCommon = (params = {}) => vm.$u.http.get(k_api_getCarCommon, { params });
	//品牌、车系。车型列表
	let brandseriesmodel = (params = {}) => vm.$u.http.get(k_api_brandseriesmodel, { params });
	//保险公司
	let getInsuranceCompanyList = (params = {}) =>
		vm.$u.http.get(k_api_getInsuranceCompanyList, { params });
	//车辆列表
	let getCarList = (params = {}) => vm.$u.http.post(k_api_getCarList, params);
	//合同列表
	let getContractList = (params = {}) => vm.$u.http.post(k_api_getContractList, params);
	//是否开启工作流
	let activitiEnable = (params = {}) => vm.$u.http.get(k_api_activitiEnable, { params });
	//车辆仓库
	let warehouseList = (params = {}) => vm.$u.http.get(k_api_warehouseList, { params });

	/* ===================  筛选条件相关 ==================*/
	//获取筛选条件
	let getFilterCondition = (params = {}) => vm.$u.http.get(k_api_getFilterCondition, { params });

	//获取车辆归属
	let getCommonDeptlist = (params = {}) => vm.$u.http.post(k_api_getCommonDeptlist, params);

	//获取车辆品牌
	let getCarBrandInfo = (params = {}) => vm.$u.http.get(k_api_getCarBrandInfo, { params });

	/* ===================  工作台  ================== */
	//首页
	let workbench = (params = {}) => vm.$u.http.get(k_api_workbench, { params });
	//待我审批-抄送我的-我的申请
	let todo = (params = {}) => vm.$u.http.post(k_api_todo, params);
	//统计数
	let todoCount = (params = {}) => vm.$u.http.post(k_api_todoCount, params);

	/* ===================  提醒事件  ================== */
	/*年检*/
	//年检列表
	let inspectionList = (params = {}) => vm.$u.http.post(k_api_inspectionList, params);
	//年检详情
	let inspectionDetail = (params = {}) => vm.$u.http.post(k_api_inspectionDetail, params);
	//新增年检
	let addInspection = (params = {}) =>
		vm.$u.http.post(k_api_addInspection, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/*保养*/
	//保养列表
	let maintenanceList = (params = {}) => vm.$u.http.post(k_api_maintenanceList, params);
	//保养详情
	let maintenanceDetail = (params = {}) => vm.$u.http.post(k_api_maintenanceDetail, params);
	//新增保养
	let addMaintenance = (params = {}) =>
		vm.$u.http.post(k_api_addMaintenance, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/*保险*/
	//保险列表
	let insuranceList = (params = {}) => vm.$u.http.post(k_api_insuranceList, params);
	//保险详情
	let insuranceDetail = (params = {}) => vm.$u.http.post(k_api_insuranceDetail, params);
	//新增交强险
	let saveCompulsory = (params = {}) =>
		vm.$u.http.post(k_api_saveCompulsory, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//编辑保险提交
	let insuranceupdate = (params = {}) =>
		vm.$u.http.post(k_api_insuranceupdate, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//新增商业险
	let saveCommercial = (params = {}) =>
		vm.$u.http.post(k_api_saveCommercial, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//新增承运险
	let saveCarrier = (params = {}) =>
		vm.$u.http.post(k_api_saveCarrier, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//编辑保险回显
	let insuranceupdateData = id => vm.$u.http.get(`${k_api_insuranceupdateData}${id}`);

	// 退款提醒
	// 退款列表
	let refundwarnList = (params = {}) => vm.$u.http.post(k_api_refundwarnList, params);
	// 退款详情
	let refundwarnDetail = (params = {}) => vm.$u.http.post(k_api_refundwarnDetail, params);
	// 退款提交详情
	let refundwarnSubmitDetail = (params = {}) =>
		vm.$u.http.post(k_api_refundwarnSubmitDetail, params);
	// 退款提交
	let saveShouldRefund = (params = {}) =>
		vm.$u.http.post(k_api_saveShouldRefund, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	/*违章*/
	//违章列表
	let illegalList = (params = {}) => vm.$u.http.post(k_api_illegalList, params);
	//违章详情
	let illegalDetail = (params = {}) => vm.$u.http.post(k_api_illegalDetail, params);
	//违章记录接口
	let illegalRecordDetail = (params = {}) => vm.$u.http.post(k_api_illegalRecordDetail, params);
	//保存记录接口
	let illegalSaveRecord = (params = {}) => vm.$u.http.post(k_api_illegalSaveRecord, params);

	/*租赁到期*/
	//租赁到期
	let leaseexpiresList = (params = {}) => vm.$u.http.post(k_api_leaseexpiresList, params);
	//租赁到期详情
	let leaseexpiresDetail = (params = {}) => vm.$u.http.post(k_api_leaseexpiresDetail, params);

	/*逾期欠款*/
	//逾期欠款列表
	let overduearrearsList = (params = {}) => vm.$u.http.post(k_api_overduearrearsList, params);
	//逾期欠款详情
	let overduearrearsDetail = (params = {}) => vm.$u.http.post(k_api_overduearrearsDetail, params);
	//一键收款
	let collection = (params = {}) => vm.$u.http.post(k_api_collection, params);

	/*GPS离线*/
	//GPS离线列表
	let gpsList = (params = {}) => vm.$u.http.post(k_api_gpsList, params);
	//GPS详情
	let gpsDetail = (params = {}) => vm.$u.http.post(k_api_gpsDetail, params);

	/*围栏预警*/
	//围栏列表
	let fenceList = (params = {}) => vm.$u.http.post(k_api_fenceList, params);
	//围栏详情
	let fenceDetail = (params = {}) => vm.$u.http.post(k_api_fenceDetail, params);

	/* ===================  车辆  ================== */

	//车辆列表统计数
	let getCarPageListCount = (params = {}) => vm.$u.http.post(k_api_getCarPageListCount, params);
	//车辆详情 收车 列表 统计
	let getCollectListCount = (params = {}) => vm.$u.http.post(k_api_getCollectListCount, params);
	//收车列表数据
	let getCollectRecordList = (params = {}) => vm.$u.http.post(k_api_getCollectRecordList, params);

	//是否可收车
	let validateCollect = id => vm.$u.http.get(`${k_api_validateCollect}${id}`);

	//收车详情
	let collectDetail = id => vm.$u.http.get(`${k_api_collectDetail}${id}`);
	//收车详情回显
	let collectUpdateData = id => vm.$u.http.get(`${k_api_collectUpdateData}${id}`);
	//收车详情回显(新增)
	let collectsaveData = id => vm.$u.http.get(`${k_api_collectsaveData}${id}`);
	//收车提交
	let collectsave = (params = {}) =>
		vm.$u.http.post(k_api_collectsave, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//违章处理
	let updateIllegal = (params = {}) => vm.$u.http.post(k_api_updateIllegal, params);
	let updateCarCollect = (params = {}) => vm.$u.http.post(k_api_updateCarCollect, params);

	//车辆详情 收车 记录列表
	let getCollectList = (params = {}) => vm.$u.http.post(k_api_getCollectList, params);
	//自动设别行驶证
	let getCarDataByXszUrl = (params = {}) => vm.$u.http.post(k_api_getCarDataByXszUrl, params);
	//车辆列表
	let getCarPageList = (params = {}) => vm.$u.http.post(k_api_getCarPageList, params);
	//欠款记录
	let cashamountrecord = (params = {}) => vm.$u.http.post(k_api_cashamountrecord, params);
	//新增客户
	let addCustomerInfor = (params = {}) =>
		vm.$u.http.post(k_api_addCustomerInfor, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//收车详情回显
	let sysConfigRequire = name => vm.$u.http.get(`${k_api_sysConfigRequire}${name}`);

	//选择渠道商
	let channellist = (params = {}) => vm.$u.http.post(k_api_channellist, params);

	//新增车辆校验
	let selectCar = (params = {}) => vm.$u.http.post(k_api_selectCar, params);
	//车俩新增提交
	let addCar = (params = {}) =>
		vm.$u.http.post(k_api_addCar, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	/*车辆信息*/
	//车辆列表
	let carBasicList = (params = {}) => vm.$u.http.post(k_api_carBasicList, params);
	//车辆详情
	let carInforDetails = (params = {}) => vm.$u.http.post(k_api_carInforDetails, params);
	//编辑回显接口
	let carDetail = (params = {}) => vm.$u.http.post(k_api_carDetail, params);
	//编辑接口
	let carEdit = (params = {}) =>
		vm.$u.http.post(k_api_carEdit, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	// 添加保养项目
	let addDictValue = (params = {}) =>
		vm.$u.http.post(k_api_addDictValue, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/**车辆业务信息*/
	/*车辆维修信息*/
	//维修详情
	let repairDetail = (params = {}) => vm.$u.http.post(k_api_repairDetail, params);
	//新增维修
	let saveRepair = (params = {}) =>
		vm.$u.http.post(k_api_saveRepair, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//维修反馈
	let repairFeedback = (params = {}) =>
		vm.$u.http.post(k_api_repairFeedback, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/*车辆出险信息*/
	//出险详情
	let outinsuranceDetail = (params = {}) => vm.$u.http.post(k_api_outinsuranceDetail, params);
	//新增出险
	let saveOutinsurance = (params = {}) =>
		vm.$u.http.post(k_api_saveOutinsurance, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/*车辆档案信息*/
	//档案信息详情
	let carArchivesDetail = (params = {}) => vm.$u.http.post(k_api_carArchivesDetail, params);
	//档案信息新增
	let carArchivesSave = (params = {}) =>
		vm.$u.http.post(k_api_carArchivesSave, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/*车辆处置信息*/
	//车辆处置详情
	let carDisposalDetail = (params = {}) => vm.$u.http.post(k_api_carDisposalDetail, params);
	//车辆处置新增
	let carDisposalSave = (params = {}) =>
		vm.$u.http.post(k_api_carDisposalSave, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//车辆处置撤销
	let carDisposalUndo = (params = {}) => vm.$u.http.post(k_api_carDisposalUndo, params);

	/*车辆库存*/
	let getCarStockCount = (params = {}) => vm.$u.http.post(k_api_getCarStockCount, params);

	/* ===================  线索 ================== */
	//新增销售线索
	let saveClues = (params = {}) =>
		vm.$u.http.post(k_api_saveClues, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//销售线索列表
	let getCluesList = (params = {}) => vm.$u.http.post(k_api_getCluesList, params);
	//线索跟进-提交
	let updateClues = (params = {}) =>
		vm.$u.http.post(k_api_updateClues, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//线索详情-线索跟进
	let getCluesRecordList = (params = {}) => vm.$u.http.post(k_api_getCluesRecordList, params);

	/* ===================  日常工具 ================== */
	//驾驶证图片识别接口
	let getOcrDriverCard = (params = {}) => vm.$u.http.post(k_api_getOcrDriverCard, params);

	//身份证识别接口
	let getOcrIdCard = (params = {}) => vm.$u.http.get(k_api_getOcrIdCard, {params});

	//驾驶证查询接口
	let getDrivingLicenceQuery = (params = {}) =>
		vm.$u.http.post(k_api_getDrivingLicenceQuery, params, {
			header: {
				'content-type': 'application/json',
			},
		});

  let getDrivingLicenceQueryNew = (params = {}) =>
    vm.$u.http.get(k_api_getDrivingLicenceQueryNew, {params}, {
      header: {
        'content-type': 'application/json',
      },
    });

	//驾驶证查询记录列表
	let queryDriversInfoList = (params = {}) => vm.$u.http.post(k_api_queryDriversInfoList, params);

	//违章查询
	let getIllegalQueryDetail = (params = {}) =>
		vm.$u.http.post(k_api_getIllegalQueryDetail, params);

	//违章查询详情接口
	let getillegalQueryillegalDetail = (params = {}) =>
		vm.$u.http.post(k_api_getillegalQueryillegalDetail, params);

	/* ===================  签约客户 ================== */
	//签约客户列表
	let getSignedClientList = (params = {}) => vm.$u.http.post(k_api_getSignedClientList, params);
	//客户详情
	let getSignedClientDetails = (params = {}) =>
		vm.$u.http.post(k_api_getSignedClientDetails, params);
	//所属业务负责人
	let getSysUserSelectList = (params = {}) => vm.$u.http.post(k_api_getSysUserSelectList, params);
	//合同信息
	let getCustomerContractList = (params = {}) =>
		vm.$u.http.post(k_api_getCustomerContractList, params);

	//合同信息
	let getCustomerReceivablesList = (params = {}) =>
		vm.$u.http.post(k_api_getCustomerReceivablesList, params);

	//违章信息
	let getCustomerCarIllegalList = (params = {}) =>
		vm.$u.http.post(k_api_getCustomerCarIllegalList, params);

	//应退账单
	let getCustomerShouldRefundList = (params = {}) =>
		vm.$u.http.post(k_api_getCustomerShouldRefundList, params);

	/* ===================  订单 ================== */
	/*无工作流*/
	//无工作流编辑获取数据
	let orderInfo = (params = {}) => vm.$u.http.post(k_api_orderInfo, params);
	//无工作流暂存
	let orderTemporarystorage = (params = {}) =>
		vm.$u.http.post(k_api_orderTemporarystorage, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//无工作流提交
	let orderAdd = (params = {}) =>
		vm.$u.http.post(k_api_orderAdd, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//无工作流修改
	let orderEdit = (params = {}) =>
		vm.$u.http.post(k_api_orderEdit, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//审批已读
	let copystatusupdate = (params = {}) => vm.$u.http.post(k_api_copystatusupdate, params);

	/*有工作流*/
	//有工作流编辑获取数据
	let orderActivitySavedata = (params = {}) =>
		vm.$u.http.post(k_api_orderActivitySavedata, params);
	//修改订单获取动态字段
	let orderActivityEditdata = (params = {}) =>
		vm.$u.http.post(k_api_orderActivityEditdata, params);
	//工作流暂存：只需要校验租赁类型，其他不用校验必填
	let orderActivityTemporarystorage = (params = {}) =>
		vm.$u.http.post(k_api_orderActivityTemporarystorage, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//工作流提交：按照返回字段校验
	let orderActivityAdd = (params = {}) =>
		vm.$u.http.post(k_api_orderActivityAdd, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//工作流修改提交：要将返回给客户端数据回传给服务器
	let orderActivityEdit = (params = {}) =>
		vm.$u.http.post(k_api_orderActivityEdit, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/*订单列表*/
	//订单状态列表
	let orderStatusList = (params = {}) => vm.$u.http.post(k_api_orderStatusList, params);
	//订单列表
	let orderlist = (params = {}) => vm.$u.http.post(k_api_orderlist, params);
	//审核详情
	let orderAuditData = (params = {}) => vm.$u.http.post(k_api_orderAuditData, params);
	//续租费用详情
	let releDetailInfo = (params = {}) => vm.$u.http.post(k_api_releDetailInfo, params);
	//换车记录费用详情
	let alterationFeeDetail = (params = {}) => vm.$u.http.post(k_api_alterationFeeDetail, params);

	/*工作流审批*/
	//工作流-删除订单
	let orderDel = (params = {}) => vm.$u.http.post(k_api_orderDel, params);
	//工作流-撤回订单
	let orderRecall = (params = {}) => vm.$u.http.post(k_api_orderRecall, params);
	//工作流-直接点击通过
	let orderListapproven = (params = {}) => vm.$u.http.post(k_api_orderListapproven, params);
	//工作流-拒绝订单
	let orderRefuset = (params = {}) => vm.$u.http.post(k_api_orderRefuset, params);
	//工作流-驳回订单
	let orderrReject = (params = {}) => vm.$u.http.post(k_api_orderrReject, params);
	//工作流-编辑信息之后审核通过订单
	let orderaApprove = (params = {}) => vm.$u.http.post(k_api_orderaApprove, params);

	/*订单详情*/
	//订单详情
	let orderDetailInfo = (params = {}) => vm.$u.http.post(k_api_orderDetailInfo, params);
	//获取续租订单状态
	let orderDetailInfoItemOrder = (params = {}) =>
		vm.$u.http.post(k_api_orderDetailInfoItemOrder, params);
	//订单详情-更多信息
	let getOrderDetailsMoreInfor = (params = {}) =>
		vm.$u.http.post(k_api_getOrderDetailsMoreInfor, params);

	/*新增费用减免*/
	let addCostRelief = (params = {}) =>
		vm.$u.http.post(k_api_addCostRelief, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	/*费用减免回显详情*/
	let costReliefDetail = (params = {}) => vm.$u.http.post(k_api_costReliefDetail, params);
	/*费用减免记录列表*/
	let cosreliefRecord = (params = {}) => vm.$u.http.post(k_api_cosreliefRecord, params);

	/*审批流（新增）*/
	let bpmInitChart = (params = {}) => vm.$u.http.post(k_api_bpmInitChart, params);
	/*审批流（详情）*/
	let bpmChart = (params = {}) => vm.$u.http.post(k_api_bpmChart, params);

	/*申请过户*/
	let addCartransfer = (params = {}) =>
		vm.$u.http.post(k_api_addCartransfer, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/* ===================  退换车 ================== */
	//退换车新增回显数据接口
	let applyforShow = (params = {}) => vm.$u.http.post(k_api_applyforShow, params);

	//退换车新增接口
	let applyforSave = (params = {}) =>
		vm.$u.http.post(k_api_applyforSave, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//退换车获取时间
	let transferInfoByOrderCarId = (params = {}) =>
		vm.$u.http.get(k_api_transferInfoByOrderCarId, { params });

	//退换车获取费用
	let transferMonthlyRentDebt = (businessNo, timestamp) =>
		vm.$u.http.get(`${k_api_transferMonthlyRentDebt}${businessNo}/${timestamp}`);

	//退换车动态字段接口
	let getServiceConfig = (params = {}) => vm.$u.http.get(k_api_getServiceConfig, { params });

	//退换车详情接口
	let applyforDetail = (params = {}) => vm.$u.http.post(k_api_applyforDetail, params);

	//退换车动态详情接口
	let applyfeeDetail = (params = {}) => vm.$u.http.get(k_api_applyfeeDetail, { params });

	//退换车通过、重新编辑接口
	let applyforAppEdit = (params = {}) =>
		vm.$u.http.post(k_api_applyforAppEdit, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//退换车拒绝、驳回、撤回接口
	let applyforAppOperation = (params = {}) => vm.$u.http.post(k_api_applyforAppOperation, params);

	//退换车详情回显展示
	let applyforQueryInfo = (params = {}) => vm.$u.http.post(k_api_applyforQueryInfo, params);

	//分配交车回显数据
	let applyforDeliveryCarDetail = (params = {}) =>
		vm.$u.http.post(k_api_applyforDeliveryCarDetail, params);

	//分配交车提交
	let applyforDeliveryCarSubmit = (params = {}) =>
		vm.$u.http.post(k_api_applyforDeliveryCarSubmit, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/* ===================  更多 ================== */
	//交车信息
	let getInCarInfor = (params = {}) => vm.$u.http.post(k_api_getInCarInfor, params);

	//付款计划
	let getPaymentPlan = (params = {}) => vm.$u.http.post(k_api_getPaymentPlan, params);

	//付款计划详情
	let getPaymentPlanDetails = (params = {}) =>
		vm.$u.http.post(k_api_getPaymentPlanDetails, params);

	//合同信息详情
	let getContractDetails = (params = {}) => vm.$u.http.post(k_api_getContractDetails, params);

	//补充合同信息保存
	let appSaveContract = (params = {}) =>
		vm.$u.http.post(k_api_appSaveContract, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//合同信息修改
	let appUpdateContract = (params = {}) =>
		vm.$u.http.post(k_api_appUpdateContract, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//过户资料
	let getdCartransferDetailst = (params = {}) =>
		vm.$u.http.post(k_api_getdCartransferDetailst, params);

	//过户资料列表
	let getdCartransfer = (params = {}) => vm.$u.http.post(k_api_getdCartransfer, params);

	/* ===================  消息 ================== */
	//消息状态接口
	let getmessageApiMsgTypeData = (params = {}) =>
		vm.$u.http.post(k_api_getmessageApiMsgTypeData, params);

	//消息列表接口
	let getmessageApiListMsgData = (params = {}) =>
		vm.$u.http.post(k_api_getmessageApiListMsgData, params);

	//消息详情接口
	let getmessageApiGetMsgInfo = (params = {}) =>
		vm.$u.http.post(k_api_getmessageApiGetMsgInfo, params);

	/* ===================  车辆调拨 ================== */

	//车辆调拨列表
	let getTransfersList = (params = {}) => vm.$u.http.post(k_api_getTransfersList, params);

	//车辆调拨列表详情
	let getTransfersDetails = (params = {}) => vm.$u.http.post(k_api_getTransfersDetails, params);

	//车辆调拨新增
	let saveTransfers = (params = {}) =>
		vm.$u.http.post(k_api_saveTransfers, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//审批
	let examflow = (url, params = {}) =>
		vm.$u.http.post(url, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//审批订单json
	let examorderjson = (url, params = {}) =>
		vm.$u.http.post(url, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//审批订单form
	let examorderform = (url, params = {}) => vm.$u.http.post(url, params);

	/* ===================  首页消息读取状态获取 ================== */

	//消息读取状态
	let apiIsNotRead = (params = {}) => vm.$u.http.get(k_api_apiIsNotRead, { params });

	//审批首页
	let pendingMyApproveCount = (params = {}) =>
		vm.$u.http.post(k_api_pendingMyApproveCount, params);
	let myCopyCount = (params = {}) => vm.$u.http.post(k_api_myCopyCount, params);
	let myApplyCount = (params = {}) => vm.$u.http.post(k_api_myApplyCount, params);

	/*/ ===================  长租2.3版本新增接口 ================== */

	//维修及出险车辆列表
	let apiGetCarList = (params = {}) => vm.$u.http.post(k_api_apiGetCarList, params);

	/*渠道管理*/
	//渠道列表
	let channelList_common = (params = {}) => vm.$u.http.post(k_api_channellist_common, params);

	//新增渠道
	let addChannel = (params = {}) =>
		vm.$u.http.post(k_api_addChannel, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//渠道详情
	let channelDetail = id => vm.$u.http.get(`${k_api_channelDetail}${id}`);

	//渠道编辑
	let editChannel = (params = {}) =>
		vm.$u.http.post(k_api_editChannel, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//获取负责人
	let channelUsrLst = (params = {}) => vm.$u.http.post(k_api_channelUsrLst, params);

	/*调拨审核*/
	//调拨审核详情
	let carCannibalize = (params = {}) => vm.$u.http.post(k_api_carCannibalize, params);

	//调拨同意
	let cannibalizeAgree = (params = {}) =>
		vm.$u.http.post(k_api_cannibalizeAgree, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	//调拨拒绝驳回
	let cannibalizeRefes = (params = {}) =>
		vm.$u.http.post(k_api_cannibalizeRefes, params, {
			header: {
				'content-type': 'application/json',
			},
		});

	/*订单*/
	//合同模板
	let contractTemplate = (params = {}) => vm.$u.http.post(k_api_contractTemplate, params);

	//获取催办人信息
	let getCuiBanPerson = (params = {}) => vm.$u.http.post(k_api_getCuiBanPerson, params);

	/*车辆监控*/
	//指令列表
	let instructionslist = (params = {}) => vm.$u.http.post(k_api_instructionslist, params);
	//指令历史列表
	let instructionshistorylist = (params = {}) =>
		vm.$u.http.post(k_api_instructionshistorylist, params);
	//发送指令
	let sendinstructions = (params = {}) => vm.$u.http.post(k_api_sendinstructions, params);
	//车辆列表总数
	let bcCarCount = (params = {}) => vm.$u.http.post(k_api_bcCarCount, params);
	//车辆列表
	let bcCarlist = (params = {}) =>
		vm.$u.http.post(k_api_bcCarlist, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//获取需要监控的数据
	let needmonitorlist = (params = {}) => vm.$u.http.post(k_api_needmonitorlist, params);
	//车辆违章列表
	let apiGetCarSurvielList = (params = {}) =>
		vm.$u.http.get(k_api_apiGetCarSurvielList, { params });
	//监控车辆列表
	let monitorlist = (params = {}) =>
		vm.$u.http.post(k_api_monitorlist, params, {
			header: {
				'content-type': 'application/json',
			},
		});
	//车辆监控查询基本信息
	let vehiclemonitorInfo = (params = {}) => vm.$u.http.post(k_api_vehiclemonitorInfo, params);
	//车辆轨迹查询
	let vehiclemonitorGetTrack = (params = {}) =>
		vm.$u.http.post(k_api_vehiclemonitorGetTrack, params);
	//供应商列表
	let getPurchaseSupplierList = (params = {}) =>
		vm.$u.http.post(k_api_getPurchaseSupplierList, params);

	// 维修预约
	//  维修预约记录列表
	let getAppointmentRocordList = (params = {}) =>
		vm.$u.http.get(v_getAppointmentRocordList, params);
	//预约删除
	let appointmentRocordRemove = (params = {}) =>
		vm.$u.http.post(v_appointmentRocordRemove, params);
	//受理预约
	let appointmentAcceptance = (params = {}) => vm.$u.http.post(v_appointmentAcceptance, params);
	//获取协议
	let getProtocal = id => vm.$u.http.get(`${v_getProtocal}${id}`);
	//根据推车时间车辆租金欠款金额
	let MonthlyRentDebt = ({ id, time }) => vm.$u.http.get(`${k_monthlyRentDebt}/${id}/${time}`);

  //yaqiq
  //新增维修 付款对象下拉
  let getPayeeList = (params = {}) =>
    vm.$u.http.get(k_api_customerList, {params});

  let getPayInsuranceList = (params = {}) =>
    vm.$u.http.get(k_api_getInsuranceCompanyInforList, {params});

	//动力类型
	let PowerType  = (params = {}) =>
		vm.$u.http.get(k_power_type, params);
	// 车务
	let TrainOperation  = (params = {}) =>
		vm.$u.http.get(k_train_operation, params);
	// 号牌种类
	let TtpeLicense = (params = {}) =>
		vm.$u.http.get(k_ttpe_icense, params);

	// 将各个定义的接口名称，统一放进对象挂载到vm.$u.http.api(因为vm就是this，也即this.$u.api)下
	vm.$u.api = {
		// 根据推车时间车辆租金欠款金额
		MonthlyRentDebt,
		//获取协议
		getProtocal,

		/*登录*/
		//获取验证码接口
		sendVerificationCode,
		//账户信息
		getSysUser,
		//登录
		login,
		//是否需要商户号
		getConfigParam,

		/* ===================  公共配置  ================== */
		/** 图片上传路径 */
		uploadFile,
		/*公共配置*/
		//数据字典公共数据
		getCarCommon,
		//品牌、车系。车型列表
		brandseriesmodel,
		//保险公司
		getInsuranceCompanyList,
		//车辆列表
		getCarList,
		//合同列表
		getContractList,
		//是否开启工作流
		activitiEnable,
		//车辆仓库
		warehouseList,
		/* ===================  筛选条件相关 ==================*/
		//获取筛选条件
		getFilterCondition,

		//获取车辆归属
		getCommonDeptlist,

		/*审批流（新增）*/
		bpmInitChart,
		/*审批流（详情）*/
		bpmChart,

		//获取车辆品牌
		getCarBrandInfo,

		//审批
		examflow,

		/* ===================  工作台  ================== */
		//首页
		workbench,
		//待我审批-抄送我的-我的申请
		todo,
		//统计数
		todoCount,

		/* ===================  审批  ================== */
		pendingMyApproveCount,
		myCopyCount,
		myApplyCount,
		examorderjson,
		examorderform,

		/* ===================  提醒事件  ================== */
		/*年检*/
		//年检列表
		inspectionList,
		//年检详情
		inspectionDetail,
		//新增年检
		addInspection,

		/*保养*/
		//保养列表
		maintenanceList,
		//保养详情
		maintenanceDetail,
		//新增保养
		addMaintenance,

		/*保险*/
		//保险列表
		insuranceList,
		//保险详情
		insuranceDetail,
		//新增交强险
		saveCompulsory,
		//新增商业险
		saveCommercial,
		//新增承运险
		saveCarrier,
		//编辑保险回显
		insuranceupdateData,
		//编辑保险提交
		insuranceupdate,

		// 退款提醒
		refundwarnList,
		// 退款详情
		refundwarnDetail,
		// 退款提交详情
		refundwarnSubmitDetail,
		// 退款提交
		saveShouldRefund,

		/*违章*/
		//违章列表
		illegalList,
		//违章详情
		illegalDetail,
		//违章记录接口
		illegalRecordDetail,
		//保存记录接口
		illegalSaveRecord,
		apiGetCarSurvielList,

		/*租赁到期*/
		//租赁到期
		leaseexpiresList,
		//租赁到期详情
		leaseexpiresDetail,

		/*逾期欠款*/
		//逾期欠款列表
		overduearrearsList,
		//逾期欠款详情
		overduearrearsDetail,
		//一键收款
		collection,

		/*GPS离线*/
		//GPS离线列表
		gpsList,
		//GPS详情
		gpsDetail,

		/*围栏预警*/
		//围栏列表
		fenceList,
		//围栏详情
		fenceDetail,

		/* ===================  车辆  ================== */

		//车辆列表统计数
		getCarPageListCount,
		//车辆详情 收车 列表 统计
		getCollectListCount,
		//是否可发起收车
		validateCollect,
		//收车详情
		collectDetail,
		//收车详情回显
		collectUpdateData,
		//收车详情回显(新增)
		collectsaveData,
		//收车提交
		collectsave,
		//违章处理
		updateIllegal,
		updateCarCollect,

		//车辆详情 收车 记录列表
		getCollectList,
		//收车列表数据
		getCollectRecordList,
		//自动设别行驶证
		getCarDataByXszUrl,
		//车辆列表
		getCarPageList,
		//欠款记录
		cashamountrecord,
		//新增客户
		addCustomerInfor,
		//选择渠道商
		channelList_common,

		//新增车辆校验
		selectCar,
		//车俩新增提交
		addCar,
		/*车辆信息*/
		//车辆列表
		carBasicList,
		//车辆详情
		carInforDetails,
		//编辑回显接口
		carDetail,
		//编辑接口
		carEdit,

		// 添加保养小木
		addDictValue,

		/**车辆业务信息*/
		/*车辆维修信息*/
		//维修详情
		repairDetail,
		//新增维修
		saveRepair,
		//维修反馈
		repairFeedback,

		/*车辆出险信息*/
		//出险详情
		outinsuranceDetail,
		//新增出险
		saveOutinsurance,

		/*车辆档案信息*/
		//档案信息详情
		carArchivesDetail,
		//档案信息新增
		carArchivesSave,

		/*车辆处置信息*/
		//车辆处置详情
		carDisposalDetail,
		//车辆处置新增
		carDisposalSave,
		//车辆处置撤销
		carDisposalUndo,

		/*车辆库存*/
		getCarStockCount,

		/* ===================  线索 ================== */
		//新增销售线索
		saveClues,
		//销售线索列表
		getCluesList,
		//线索跟进-提交
		updateClues,
		//线索详情-线索跟进
		getCluesRecordList,

		/* ===================  日常工具 ================== */
		//驾驶证图片识别接口
		getOcrDriverCard,

		//身份证识别接口
		getOcrIdCard,

		//驾驶证查询接口
		getDrivingLicenceQuery,

    getDrivingLicenceQueryNew,

		//驾驶证查询记录列表
		queryDriversInfoList,

		//违章查询
		getIllegalQueryDetail,

		//违章查询详情接口
		getillegalQueryillegalDetail,

		/* ===================  签约客户 ================== */
		//签约客户列表
		getSignedClientList,
		//客户详情
		getSignedClientDetails,
		//所属业务负责人
		getSysUserSelectList,
		//合同信息
		getCustomerContractList,

		//合同信息
		getCustomerReceivablesList,

		//违章信息
		getCustomerCarIllegalList,

		//应退账单
		getCustomerShouldRefundList,

		//系统配置（必填）
		sysConfigRequire,

		/* ===================  订单 ================== */
		/*无工作流*/
		//无工作流编辑获取数据
		orderInfo,
		//无工作流暂存
		orderTemporarystorage,
		//无工作流提交
		orderAdd,
		//无工作流修改
		orderEdit,
		//审批已读
		copystatusupdate,

		/*有工作流*/
		//有工作流编辑获取数据
		orderActivitySavedata,
		//修改订单获取动态字段
		orderActivityEditdata,
		//工作流暂存：只需要校验租赁类型，其他不用校验必填
		orderActivityTemporarystorage,
		//工作流提交：按照返回字段校验
		orderActivityAdd,
		//工作流修改提交：要将返回给客户端数据回传给服务器
		orderActivityEdit,

		/*订单列表*/
		//订单状态列表
		orderStatusList,
		//订单列表
		orderlist,
		//审核详情
		orderAuditData,
		//续租费用详情
		releDetailInfo,
		//换车记录费用详情
		alterationFeeDetail,

		/*工作流审批*/
		//工作流-删除订单
		orderDel,
		//工作流-撤回订单
		orderRecall,
		//工作流-直接点击通过
		orderListapproven,
		//工作流-拒绝订单
		orderRefuset,
		//工作流-驳回订单
		orderrReject,
		//工作流-编辑信息之后审核通过订单
		orderaApprove,

		/*订单详情*/
		//订单详情
		orderDetailInfo,
		//获取续租订单状态
		orderDetailInfoItemOrder,
		//订单详情-更多信息
		getOrderDetailsMoreInfor,

		/*新增费用减免*/
		addCostRelief,
		/*费用减免回显详情*/
		costReliefDetail,
		/*费用减免记录列表*/
		cosreliefRecord,

		/*申请过户*/
		addCartransfer,

		/* ===================  退换车 ================== */
		//退换车新增回显数据接口
		applyforShow,

		transferInfoByOrderCarId,
		transferMonthlyRentDebt,

		//退换车新增接口
		applyforSave,

		// 动态获取字段
		getServiceConfig,

		//退换车详情接口
		applyforDetail,

		//退换车动态详情接口
		applyfeeDetail,

		//退换车通过、重新编辑接口
		applyforAppEdit,

		//退换车拒绝、驳回、撤回接口
		applyforAppOperation,

		//退换车详情回显展示
		applyforQueryInfo,

		//分配交车回显数据
		applyforDeliveryCarDetail,

		//分配交车提交
		applyforDeliveryCarSubmit,

		/* ===================  更多 ================== */
		//交车信息
		getInCarInfor,

		//付款计划
		getPaymentPlan,

		//付款计划详情
		getPaymentPlanDetails,

		//合同信息详情
		getContractDetails,

		//补充合同信息保存
		appSaveContract,

		//合同信息修改
		appUpdateContract,

		//过户资料
		getdCartransferDetailst,

		//过户资料列表
		getdCartransfer,

		/* ===================  消息 ================== */
		//消息状态接口
		getmessageApiMsgTypeData,

		//消息列表接口
		getmessageApiListMsgData,

		//消息详情接口
		getmessageApiGetMsgInfo,

		/* ===================  车辆调拨 ================== */

		//车辆调拨列表
		getTransfersList,

		//车辆调拨列表详情
		getTransfersDetails,

		//车辆调拨新增
		saveTransfers,

		/* ===================  首页消息读取状态获取 ================== */

		//消息读取状态
		apiIsNotRead,
		/*/ ===================  长租2.3版本新增接口 ================== */

		//维修及出险车辆列表
		apiGetCarList,

		/*渠道管理*/
		//渠道列表
		channellist,

		//新增渠道
		addChannel,

		//渠道详情
		channelDetail,

		//渠道编辑
		editChannel,

		//获取负责人
		channelUsrLst,

		/*调拨审核*/
		//调拨审核详情
		carCannibalize,

		//调拨同意
		cannibalizeAgree,

		//调拨拒绝驳回
		cannibalizeRefes,

		/*订单*/
		//合同模板
		contractTemplate,

		//获取催办人信息
		getCuiBanPerson,

		/*车辆监控*/
		//指令列表
		instructionslist,
		//指令历史列表
		instructionshistorylist,
		//发送指令
		sendinstructions,
		//车辆列表总数
		bcCarCount,
		//车辆列表
		bcCarlist,
		//获取需要监控的数据
		needmonitorlist,
		//监控车辆列表
		monitorlist,
		//车辆监控查询基本信息
		vehiclemonitorInfo,
		//车辆轨迹查询
		vehiclemonitorGetTrack,

		//供应商列表
		getPurchaseSupplierList,

		// 预约列表
		getAppointmentRocordList,
		//预约删除
		appointmentRocordRemove,
		// 预约受理
		appointmentAcceptance,


    //付款对象下拉
    getPayeeList,

    getPayInsuranceList,
    		// 动力类型
		PowerType,
		// 车务
		TrainOperation,
		// 号牌种类
		TtpeLicense,

	};
};

/* ===================  登录  ================== */
//获取验证码接口
let k_api_sendVerificationCode = 'app/sendVerificationCode.do';
//账户信息
let k_api_getSysUser = 'app/homePageList/getSysUser.do';

//审批
let k_api_pendingMyApproveCount = 'app/pendingMyApproveCount';

//抄送
let k_api_myCopyCount = 'app/myCopyCount';

//发起
let k_api_myApplyCount = 'app/myApplyCount';

//登录
let k_api_login = 'app/login.do';
//是否需要商户号
let k_api_getConfigParam = 'app/getConfigParam';

/* ===================  公共配置  ================== */
/** 图片上传路径 */
let k_api_uploadFile = 'app/upload/files.do';
/*公共配置*/
//数据字典公共数据
let k_api_getCarCommon = 'app/common/sys/dict';
//品牌、车系。车型列表
let k_api_brandseriesmodel = 'app/common/brandseriesmodel';
//保险公司
let k_api_getInsuranceCompanyList = 'app/common/getInsuranceCompanyList';
//车辆列表
let k_api_getCarList = 'app/common/car/list';
//合同列表
let k_api_getContractList = 'app/common/contract/list';
//是否开启工作流
let k_api_activitiEnable = 'app/common/activitiEnable.do';
//车辆仓库
let k_api_warehouseList = 'app/common/warehouse/list';

/* ===================  筛选条件相关 ==================*/
//获取筛选条件
let k_api_getFilterCondition = 'app/common/car/screeningcriteria';

//获取车辆归属
let k_api_getCommonDeptlist = 'app/common/deptlist';

//获取车辆品牌
let k_api_getCarBrandInfo = 'app/car/brandInfo';

/* ===================  工作台  ================== */
//首页
let k_api_workbench = 'app/workbench';
//待我审批-抄送我的-我的申请
let k_api_todo = 'app/todo';
//统计数
let k_api_todoCount = 'app/todoCount';

/* ===================  提醒事件  ================== */
/*年检*/
//年检列表
let k_api_inspectionList = 'app/inspection/list';
//年检详情
let k_api_inspectionDetail = 'app/inspection/detail';
//新增年检
let k_api_addInspection = 'app/inspection/save';

/*保养*/
//保养列表
let k_api_maintenanceList = 'app/maintenance/list';
//保养详情
let k_api_maintenanceDetail = 'app/maintenance/detail';

//新增保养
let k_api_addMaintenance = 'app/maintenance/save';

/*保险*/
//保险列表
let k_api_insuranceList = 'app/insurance/getInsuranceList';
//保险详情
let k_api_insuranceDetail = 'app/insurance/getInsuranceDetil';
//新增交强险
let k_api_saveCompulsory = 'app/insurance/saveCompulsory';
//新增商业险
let k_api_saveCommercial = 'app/insurance/saveCommercial';
//新增承运险
let k_api_saveCarrier = 'app/insurance/saveCarrier';
//编辑保险回显
let k_api_insuranceupdateData = 'app/insurance/updateData/';
//编辑保险提交
let k_api_insuranceupdate = 'app/insurance/update';

// 退款
// 退款提醒列表
let k_api_refundwarnList = 'app/financial/shouldrefund/list';
// 退款详情
let k_api_refundwarnDetail = 'app/financial/shouldrefund/detail';
// 退款提交详情
let k_api_refundwarnSubmitDetail = 'app/financial/shouldrefund/refundDetail';
// 退款提交
let k_api_saveShouldRefund = 'app/financial/shouldrefund/saveShouldRefund';

/*违章*/
//违章列表
let k_api_illegalList = 'app/illegal/list';
//违章详情
let k_api_illegalDetail = 'app/illegal/detail';
//违章记录接口
let k_api_illegalRecordDetail = 'app/illegal/recordDetail';
//保存记录接口
let k_api_illegalSaveRecord = 'app/illegal/saveRecord';

/*租赁到期*/
//租赁到期
let k_api_leaseexpiresList = 'app/leaseexpires/list';
//租赁到期详情
let k_api_leaseexpiresDetail = 'app/leaseexpires/detail';

/*逾期欠款*/
//逾期欠款列表
let k_api_overduearrearsList = 'app/overduearrears/list';
//逾期欠款详情
let k_api_overduearrearsDetail = 'app/overduearrears/detail';
// 一键收款
let k_api_collection = 'app/overduearrears/sk';

/*GPS离线*/
//GPS离线列表
let k_api_gpsList = 'app/gps/list';
//GPS详情
let k_api_gpsDetail = 'app/gps/detail';

/*围栏预警*/
//围栏列表
let k_api_fenceList = 'app/fence/list';
//围栏详情
let k_api_fenceDetail = 'app/fence/detail';

/* ===================  车辆  ================== */
//车辆列表统计数
let k_api_getCarPageListCount = 'app/car/apiGetCarAllCount';
//车辆详情 收车 列表 统计
let k_api_getCollectListCount = 'app/car/getCollectListCount.do';
//收车列表数据
let k_api_getCollectRecordList = 'app/car/getCollectRecordList.do';

//是否可发起收车
let k_api_validateCollect = 'app/car/collect/validateCollect/';

//收车详情
let k_api_collectDetail = 'app/car/collect/detail/';
//收车详情回显
let k_api_collectUpdateData = 'app/car/collect/updateData/';
//收车详情回显(新增)
let k_api_collectsaveData = 'app/car/collect/saveData/';
//收车提交
let k_api_collectsave = 'app/car/collect/save';

//违章处理
let k_api_updateIllegal = 'app/carBasic/updateIllegal.do';
let k_api_updateCarCollect = 'app/operatingCar/updateCarCollect.do';

//车辆详情 收车 记录列表
let k_api_getCollectList = 'app/operatingCar/getCollectList.do';
//自动设别行驶证
let k_api_getCarDataByXszUrl = 'app/car/getVehicleLicense';
//车辆列表
let k_api_getCarPageList = 'app/operatingCar/getCarPageList.do';
//欠款记录
let k_api_cashamountrecord = 'app/membersController/cashamountrecord.do';
//新增客户
let k_api_addCustomerInfor = 'app/customermanagement/addCustomerInfor';
//选择渠道商
let k_api_channellist_common = 'app/common/channel/list';
// 添加保养项目
let k_api_addDictValue = 'app/common/sys/dict/addDictValue';
//新增车辆校验
let k_api_selectCar = 'app/car/checkVehicle';
//车俩新增提交
let k_api_addCar = 'app/car/add';
/*车辆信息*/
//车辆列表
let k_api_carBasicList = 'app/car/apiGetCarBasicList';
//车辆详情
let k_api_carInforDetails = 'app/car/apiGetCarInforDetails';
//编辑回显接口
let k_api_carDetail = 'app/car/detail';
//编辑接口
let k_api_carEdit = 'app/car/edit';
//获取系统配置（必填）
let k_api_sysConfigRequire = 'app/sysConfig/';

/**车辆业务信息*/
/*车辆维修信息*/
//维修详情
let k_api_repairDetail = 'app/repair/detail';
//新增维修
let k_api_saveRepair = 'app/repair/save';
//维修反馈
let k_api_repairFeedback = 'app/repair/feedback';

/*车辆出险信息*/
//出险详情
let k_api_outinsuranceDetail = 'app/outinsurance/detail';
//新增出险
let k_api_saveOutinsurance = 'app/outinsurance/save';

/*车辆档案信息*/
//档案信息详情
let k_api_carArchivesDetail = 'app/car/archives/detail';
//档案信息新增
let k_api_carArchivesSave = 'app/car/archives/save';

/*车辆处置信息*/
//车辆处置详情
let k_api_carDisposalDetail = 'app/disposal/detail';
//车辆处置新增
let k_api_carDisposalSave = 'app/disposal/save';
//车辆处置撤销
let k_api_carDisposalUndo = 'app/disposal/undo';

/*车辆库存*/
let k_api_getCarStockCount = 'app/warehousemanagement/warehousemanagement';

/* ===================  线索 ================== */
//新增销售线索
let k_api_saveClues = 'app/clues/saveClues.do';
//销售线索列表
let k_api_getCluesList = 'app/clues/getCluesList.do';
//线索跟进-提交
let k_api_updateClues = 'app/clues/updateClues.do';
//线索详情-线索跟进
let k_api_getCluesRecordList = 'app/clues/getCluesRecordList.do';

/* ===================  日常工具 ================== */
//驾驶证图片识别接口
let k_api_getOcrDriverCard = 'app/ocr/driverCard';

//身份证识别接口   原接口'app/ocr/idCard';
let k_api_getOcrIdCard = 'app/optimize/idCard';

//驾驶证查询接口  原接口app/drivingLicenceQuery/query
let k_api_getDrivingLicenceQuery = 'app/drivingLicenceQuery/query';

//驾驶证查询接口  原接口app/drivingLicenceQuery/query
let k_api_getDrivingLicenceQueryNew = 'app/optimize/driverCard';

//驾驶证查询记录列表
let k_api_queryDriversInfoList = 'app/drivingLicenceQuery/record';

//违章查询
let k_api_getIllegalQueryDetail = 'app/illegalQuery/vehicle/detail';

//违章查询详情接口
let k_api_getillegalQueryillegalDetail = 'app/illegalQuery/illegal/detail';

//车辆违章列表
let k_api_apiGetCarSurvielList = 'app/car/apiGetCarSurvielList';

/* ===================  签约客户 ================== */
//签约客户列表
let k_api_getSignedClientList = 'app/customermanagement/getCustomerInforList';
//客户详情
let k_api_getSignedClientDetails = 'app/customermanagement/getCustomerDetailsInfor';
//所属业务负责人
let k_api_getSysUserSelectList = 'app/common/getSysUserSelectList';
//合同信息
let k_api_getCustomerContractList = 'app/customermanagement/getCustomerContract';

//合同信息
let k_api_getCustomerReceivablesList = 'app/customermanagement/getCustomerReceivables';

//违章信息
let k_api_getCustomerCarIllegalList = 'app/customermanagement/getCustomerCarIllegal';

//应退账单
let k_api_getCustomerShouldRefundList = 'app/customermanagement/getCustomerShouldRefund';

/* ===================  订单 ================== */
/*无工作流*/
//无工作流编辑获取数据
let k_api_orderInfo = 'app/order/info';
//无工作流暂存
let k_api_orderTemporarystorage = 'app/order/temporarystorage';
//无工作流提交
let k_api_orderAdd = 'app/order/add';
//无工作流修改
let k_api_orderEdit = 'app/order/edit';
//审批已读
let k_api_copystatusupdate = 'app/copystatusupdate';

/*有工作流*/
//有工作流编辑获取数据
let k_api_orderActivitySavedata = 'app/order/activity/savedata';
//修改订单获取动态字段
let k_api_orderActivityEditdata = 'app/order/activity/editdata';
//工作流暂存：只需要校验租赁类型，其他不用校验必填
let k_api_orderActivityTemporarystorage = 'app/order/activity/temporarystorage';
//工作流提交：按照返回字段校验
let k_api_orderActivityAdd = 'app/order/activity/add';
//工作流修改提交：要将返回给客户端数据回传给服务器
let k_api_orderActivityEdit = 'app/order/activity/edit';

/*订单列表*/
//订单状态列表
let k_api_orderStatusList = 'app/order/orderStatusList';
//订单列表
let k_api_orderlist = 'app/order/orderList';
//审核详情
let k_api_orderAuditData = 'app/order/activity/auditdata';
//续租费用详情
let k_api_releDetailInfo = 'app/order/releDetailInfo';
//换车记录费用详情
let k_api_alterationFeeDetail = 'app/order/alterationFeeDetail';

/*工作流审批*/
//工作流-删除订单

export let k_api_orderDel = 'app/order/activity/del';
//工作流-撤回订单
export let k_api_orderRecall = 'app/order/activity/recall';
//工作流-直接点击通过
export let k_api_orderListapproven = 'app/order/activity/listapproven';
//工作流-拒绝订单
export let k_api_orderRefuset = 'app/order/activity/refuse';
//工作流-驳回订单
export let k_api_orderrReject = 'app/order/activity/reject';
//工作流-编辑信息之后审核通过订单
export let k_api_orderaApprove = 'app/order/activity/approve';



// yanqi
//新增维修 付款对象下拉
let k_api_customerList = 'app/optimize/customerList';

//新增出险  赔付保险公司下拉
let k_api_getInsuranceCompanyInforList = 'app/optimize/getInsuranceCompanyInforList';

// yanqi


/*订单详情*/
//订单详情
let k_api_orderDetailInfo = 'app/order/orderDetailInfo';
//获取续租订单状态
let k_api_orderDetailInfoItemOrder = 'app/order/orderDetailInfoItemOrder';
//订单详情-更多信息
let k_api_getOrderDetailsMoreInfor = 'app/orderDetailsMoreInfor/getOrderDetailsMoreInfor';

/*新增费用减免*/
let k_api_addCostRelief = 'app/costrelief/addCostRelief';
/*费用减免回显详情*/
let k_api_costReliefDetail = 'app/costrelief/detail';
/*费用减免记录列表*/
let k_api_cosreliefRecord = 'app/costrelief/getCosreliefRecord';

/*审批流（新增）*/
let k_api_bpmInitChart = 'app/common/bpmInitChart';
/*审批流（详情）*/
let k_api_bpmChart = 'app/common/bpmChart';

/*申请过户*/
let k_api_addCartransfer = 'app/cartransfer/addCartransfer';

/* ===================  退换车 ================== */
//退换车新增回显数据接口
let k_api_applyforShow = 'app/applyfor/show';

//退换车新增接口
let k_api_applyforSave = 'app/applyfor/save';

let k_api_transferInfoByOrderCarId = 'app/applyfor/transferInfoByOrderCarId';
let k_api_transferMonthlyRentDebt = 'app/applyfor/transferMonthlyRentDebt/';

//退换车动态字段接口
let k_api_getServiceConfig = 'app/serviceConfig/getServiceConfig';

//退换车详情接口
let k_api_applyforDetail = 'app/applyfor/detail';
//退换车动态详情接口
let k_api_applyfeeDetail = 'app/serviceConfig/getFeeDetail';

//退换车通过、重新编辑接口
let k_api_applyforAppEdit = 'app/applyfor/appEdit';

//退换车拒绝、驳回、撤回接口
let k_api_applyforAppOperation = 'app/applyfor/appOperation';

//退换车详情回显展示
let k_api_applyforQueryInfo = 'app/applyfor/queryInfo';

//分配交车回显数据
let k_api_applyforDeliveryCarDetail = 'app/applyfor/deliveryCarDetail';

//分配交车提交
let k_api_applyforDeliveryCarSubmit = 'app/applyfor/deliveryCarSubmit';

/* ===================  更多 ================== */
//交车信息
let k_api_getInCarInfor = 'app/inCarInfor/getInCarInfor';

//付款计划
let k_api_getPaymentPlan = 'app/appReceivables/getPaymentPlan';

//付款计划详情
let k_api_getPaymentPlanDetails = 'app/appReceivables/getPaymentPlanDetails';

//合同信息详情
let k_api_getContractDetails = 'app/appContract/getContractDetails';

//补充合同信息保存
let k_api_appSaveContract = 'app/appContract/appSaveContract';

//合同信息修改
let k_api_appUpdateContract = 'app/appContract/appUpdateContract';

//过户资料
let k_api_getdCartransferDetailst = 'app/cartransfer/getdCartransferDetails';

//过户资料列表
let k_api_getdCartransfer = 'app/cartransfer/getdCartransfer';

/* ===================  消息 ================== */
//消息状态接口
let k_api_getmessageApiMsgTypeData = 'app/message/apiMsgTypeData';

//消息列表接口
let k_api_getmessageApiListMsgData = 'app/message/apiListMsgData';

//消息详情接口
let k_api_getmessageApiGetMsgInfo = 'app/message/apiGetMsgInfo';

/* ===================  车辆调拨 ================== */

//车辆调拨列表
let k_api_getTransfersList = 'app/transfers/getTransfersList';

//车辆调拨列表详情
let k_api_getTransfersDetails = 'app/transfers/getTransfersDetails';

//车辆调拨新增
let k_api_saveTransfers = 'app/transfers/saveTransfers';

/* ===================  首页消息读取状态获取 ================== */

//消息读取状态
let k_api_apiIsNotRead = 'app/apiIsNotRead';

//供应商列表
let k_api_getPurchaseSupplierList = 'app/common/getPurchaseSupplierList';

/*/ ===================  长租2.3版本新增接口 ================== */

//维修及出险车辆列表
let k_api_apiGetCarList = 'app/car/apiGetCarList';

/*渠道管理*/
//渠道列表
let k_api_channellist = 'app/channel/list';

//新增渠道
let k_api_addChannel = 'app/channel/save';

//渠道详情
let k_api_channelDetail = 'app/channel/info/';

//渠道编辑
let k_api_editChannel = 'app/channel/update';

//获取负责人
let k_api_channelUsrLst = 'app/channel/usrLst';

/*调拨审核*/
//调拨审核详情
let k_api_carCannibalize = 'app/order/activity/auditdata';

//调拨同意
let k_api_cannibalizeAgree = 'app/carShiftProcess/processEdit';

//调拨拒绝驳回
let k_api_cannibalizeRefes = 'app/carShiftProcess/processBack';

/*订单*/
//合同模板
let k_api_contractTemplate = 'app/contractTemplate/getTemplates';

//获取催办人信息
let k_api_getCuiBanPerson = 'app/sendMessage/getRegisterPerson';

/*车辆监控*/
//指令列表
let k_api_instructionslist = 'app/vehiclemonitor/instructionslist';
//指令历史列表
let k_api_instructionshistorylist = 'app/vehiclemonitor/instructionshistorylist';
//发送指令
let k_api_sendinstructions = 'app/vehiclemonitor/sendinstructions';
//车辆列表总数
let k_api_bcCarCount = 'app/vehiclemonitor/carCount';
//车辆列表
let k_api_bcCarlist = 'app/vehiclemonitor/carlist';
//获取需要监控的数据
let k_api_needmonitorlist = 'app/vehiclemonitor/needmonitorlist';
//监控车辆列表
let k_api_monitorlist = 'app/vehiclemonitor/monitorlist';
//车辆监控查询基本信息
let k_api_vehiclemonitorInfo = 'app/vehiclemonitor/info';
//车辆轨迹查询
let k_api_vehiclemonitorGetTrack = 'app/vehiclemonitor/getTrack';

// 维修预约

// 维修预约记录列表接口
let v_getAppointmentRocordList = '/app/repair/apiGetAppointmentList';

//预约记录删除接口
let v_appointmentRocordRemove = 'app/repair/appointment/deleteAppointmentById';

//预约受理接口
let v_appointmentAcceptance = 'app/repair/appointment/acceptance';

//处置审核
export let disposal_handle = 'app/disposal/handle';
//出险审核
export let outinsurance_handle = 'app/outinsurance/handle';
//收车审核
export let collect_handle = 'app/car/collect/handle';
//维修审核
export let repair_handle = 'app/repair/handle';
//保险审核
export let insurance_handle = 'app/insurance/handle';

//获取协议
export let v_getProtocal = 'https://dz.shopec.com.cn/client-api-test/api/home/graphicInfo/';

// 根据推车时间车辆租金欠款金额
export let k_monthlyRentDebt = '/order/ordercaralteration/monthlyRentDebt';
//获取动力类型
export let k_power_type = 'app/optimize/getInfoByType/carPower';
//获取车务
export let k_train_operation = 'app/optimize/usrLst';
//获号牌种类
export let k_ttpe_icense = 'app/optimize/getHpList';
export default {
	install,
};
